From: | Curt Esser |
Date: | 6 May 2001 at 18:30:40 |
Subject: | Re: AmiBlitz -> BlitzPC |
Hi,
----- Original Message -----
From: David McMinn <dave@blitz-2000.co.uk>
To: <blitz-list@netsoc.ucd.ie>
Sent: Wednesday, April 25, 2001 6:33 PM
Subject: Re: AmiBlitz -> BlitzPC
> On 26 Apr 2001, at 12:57, Anton Reinauer wrote:
>
> > Well, the easier way, is to write an AmigaASCII to PCBlitz convertor,
> > as people can use different lib numbers in the tokened source, and any
> > obscure lib, can still be easily ported across.
>
> That's the idea of what they're gonna do, but I guess all Simon's code
> must be saved with the tokens (doh!) and so they need a detokeniser to
> convert from BB2 -> ASCII.
>
> I'd also guess that they have some obscure libs of their own that were
> used for their games and never released :)
Well, without the original library installation, a "de-tokenizer" won't
work -
All the tokens really are is a note to the compiler that translates
something like this:
"Use command #03 from library #036 here"
This was the fatal flaw in Blitz's library implementation (or rather, in the
idea of making it possible to save tokenized source code...)
That's why you often get those bad command errors when you load someone
else's tokenized source (or even your own old tokenized sources when you
add/change your Blitz library setup...
There is nothing in a tokenized source that will tell you which library on
the original author's setup had that number, nor which version of that
library was used...
In other words, there really is no way to de-tokenize a Blitz source
accurately without having the exact library setup that was used to tokenize
it in the first place - and if you DO have that, why not just load up the
source into Blitz and save it as plain text?
If you don't, next best would be to install a "standard" set of Blitz
libraries, load the source, and painfully correct it by hand before saving
as plain text...
Yours Electronically,
Curt Esser
http://members.nbci.com/Curt_Esser/
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list/-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list/-help@netsoc.ucd.ie